package com.xiangge.loop;
/*
    带标签的break和continue

        说明：当循环嵌套
 */


public class LoopDemo1 {
    public static void main(String[] args) {
        outer:for (int i = 1; i <= 10; i++) {
            inner:for (int j = 2; j < 6; j++) {
                if (j%3==0){
                    continue outer;
                }
                System.out.println("i = " + i+" "+"j = " + j);

            }
        }
    }
}
